AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( 'shared.lua' )

function ENT:Initialize()
	self.BaseClass.Initialize(self)			
end

function ENT:SpawnFunction( ply, tr )

if ( !tr.Hit ) then return end
	
	local SpawnPos = tr.HitPos + tr.HitNormal * 100
	
	local ent = ents.Create( "iceroid_gelidus" )
		ent:SetPos( SpawnPos )
		ent:Spawn()
		ent:Activate() 
	return ent
end

function ENT:OnRemove()
	self.BaseClass.OnRemove(self) 
end

function ENT:Think()
	self.BaseClass.Think(self)
	self.Entity:NextThink(CurTime()+1)
	return true --needed to override think time			
end


